/*!******************************************************************************
 *     ___                  _   ____  ____
 *    / _ \ _   _  ___  ___| |_|  _ \| __ )
 *   | | | | | | |/ _ \/ __| __| | | |  _ \
 *   | |_| | |_| |  __/\__ \ |_| |_| | |_) |
 *    \__\_\\__,_|\___||___/\__|____/|____/
 *
 *  Copyright (c) 2014-2019 Appsicle
 *  Copyright (c) 2019-2022 QuestDB
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 ******************************************************************************/

$stats-height: 40px;

#js-import-editor,
#js-import-error {
  display: none;
}

.stats-switcher-viewport {
  height: $stats-height;
  overflow: hidden;
}

$stats-transition: top 0.25s ease-in-out;
.stats-switcher {
  position: relative;
  top: 0;
  -webkit-transition: $stats-transition;
  transition: $stats-transition;
}

.stats-visible {
  top: -$stats-height;
}

.import-stats-chart {
  border-radius: $border-radius;
}

.import-stats,
.import-imported-table,
.import-imported-stats {
  height: $stats-height;
}

.import-imported-stats {
  width: 50%;
  text-align: center;
  padding: 0;
}

.import-imported,
.import-rejected {
  height: 8px;
  cursor: pointer;
}

.import-rejected {
  width: 10%;
  background-color: $red;
}

.import-imported {
  width: 90%;
  background-color: $blue;
}

// grid

.grid {
  padding-top: 15px;
}

.gh-1 {
  width: 5%;
}

.gh-2 {
  width: 40%;
}

.gh-3 {
  width: 15%;
}

.gh-4 {
  width: 20%;
}

.gh-5 {
  width: 10%;
}

.gh-6 {
  width: 10%;
}

.gc-1 {
  left: 0;
  width: 5%;
}

.gc-2 {
  left: 5%;
  width: 40%;
}

.gc-3 {
  left: 45%;
  width: 15%;
}

.gc-4 {
  left: 60%;
  width: 20%;
}

.gc-5 {
  left: 80%;
  width: 10%;
}

.gc-6 {
  left: 90%;
  width: 10%;
}

.g-dynamic-select {
  position: absolute;
  display: none;
  padding: 0;
}

.g-type {
  cursor: pointer;
}

.g-warning {
  color: #f8ac59;
  padding: 0 5px;
  font-size: 110%;
}

.g-type-separator {
  padding: 0 5px;
  font-size: 110%;
}

.js-import-tab-name {
  padding: 0 20px;
  display: inline-block;
  cursor: pointer;
}
